{include file=member.header.html}
<script type="text/javascript">
$(function() {
    $('#discus_form').validate({
        errorPlacement: function(error, element) {
            $(element).next('.field_notice').hide();
            $(element).after(error);
        },
        success: function(label) {
            label.addClass('right').text('OK!');
        },
        onkeyup: false,
        rules: {
            sort_order: {
                number: true
            }
        },
        messages: {
            sort_order: {
                number: '{$lang.number_only}'
            }
        }
    });

});
</script>

<style>
p {
    line-height: 26px;
}
</style>

<div class="content">
    <div class="totline"></div>
    <div class="botline"></div>
    {include file=member.menu.html}
    <div id="right">
        {include file=member.submenu.html}
        <div class="wrap">
            <div class="public table">
                <ul class="tab">
                    <li class="active">{$lang.view_discus}</li>
                </ul>
                <div class="eject_con" style="width: 720px;">
                    <div class="adds">
                        <div id="warning"></div>
                        <ul>
                            <li>
                                <h2><b>{$lang.buyer_info}</b></h2>
                            </li>
                            <li>
                                <h3>{$lang.buyer_type}:</h3>
                                <p>{$lang[$discus.buyer_type]}</p>
                            </li>
                            <li>
                                <h3>{$lang.buyer_remark}:</h3>
                                <p>
                                    {$discus.buyer_remark}
                                </p>
                            </li>
                            <li>
                                <h3>{$lang.buyer_addtime}:</h3>
                                <p>{$discus.buyer_addtime|date:Y-m-d H:i:s}
                                </p>
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <h2><b>{$lang.seller_info}</b></h2>
                            </li>
                            <li>
                                <h3>{$lang.seller_type}:</h3>
                                <p>{$lang[$discus.seller_type]}
                                </p>
                            </li>
                            <li>
                                <h3>{$lang.seller_remark}:</h3>
                                <p>
                                    {$discus.seller_remark}
                                </p>
                            </li>
                            <li>
                                <h3>{$lang.seller_addtime}:</h3>
                                <p>{if $discus.seller_addtime } {$discus.seller_addtime|date:Y-m-d H:i:s}{/if}
                                </p>
                            </li>
                        </ul>
                        <ul>
                            <li>
                                <h2><b>{$lang.admin_info}</b></h2>
                            </li>
                            <li>
                                <h3>{$lang.status}:</h3>
                                <p>{$discus_status[$discus.status]}</p>
                            </li>
                            <li>
                                <h3>{$lang.admin_remark}:</h3>
                                <p>
                                    {$discus.admin_remark}
                                </p>
                            </li>
                            <li>
                                <h3>{$lang.admin_addtime}:</h3>
                                <p>{if $discus.seller_addtime }{$discus.admin_addtime|date:Y-m-d H:i:s}{/if}
                                </p>
                            </li>
                        </ul>
                        <a href="{url app=$smarty.get.app&id=$smarty.get.id}">{$lang.back}</a>
                    </div>
                </div>
            </div>
            <div class="wrap_bottom"></div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
</div>
{include file=footer.html}
